package com.sayice.design.lab6_1;

/**
 * @author shubing
 */
public class Room {
    public final String name;
    
    public Room(String name) {
        this.name = name;
    }
    
    public void openLamp() {
        System.out.println(name + "开灯");
    }
    
    public void closeLamp() {
        System.out.println(name + "关灯");
    }
}
